//
//  Person.m
//  daima
//
//  Created by mac on 16-4-12.
//  Copyright (c) 2016年 mjh. All rights reserved.
//

#import "Person.h"

@implementation Person

-(void)eat
{
    NSLog(@"Person %@eats!",self.name);
}
-(void)sleep
{
    NSLog(@"person %@sleep!",self.name);
}
-(void)talk:(NSString *)text
{
    NSLog(@"Person %@ says:%@",self.name,text);
}

@end
